home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / infoplus.zip / INFOPLUS.DOC < prev    next >
Text File  |  1990-06-25  |  14KB  |  253 lines

  1. !!      INFOPLUS
  2. !!
  3. !!      Version 1.0, released into the Public Domain.
  4. !!
  5. !!      By Andrew Rossmann, 6/25/90
  6. !!
  7. !!      Originally based on Steve Grant's Public Domain SYSID 4.4.
  8. !!
  9. !!      All lines that begin with ** are Steve Grant's original documentation.
  10. !!      All lines that begin with !! are mine.
  11. !!
  12. !!      Usage:  [d:][path]INFOPLUS
  13. **
  14. **      A system description for DOS-based PC/XT/AT- and PS/2-class machines.
  15. **      SYSID generates 18 screens of information about the host system and
  16. **      runs under DOS versions 3.0 and later.
  17. **
  18. **      My primary sources of ideas in SYSID were Ray Duncans "Advanced MS-DOS"
  19. **      and Terry Dettman's "DOS Programmer's Reference."  The ideas of Prakash
  20. **      Chandra,Terje Mathisen,Bob Smith, and others appear in various places.
  21. **
  22. **      Some of the techniques SYSID uses are not documented or officially
  23. **      supported by either IBM or Microsoft.  Where possible I have followed
  24. **      the undocumented routine with a comment describing my source for the
  25. **      technique.
  26. **
  27. !!              INFOPLUS.PAS       - Main file source code
  28. !!              PAGE_xx.INC        - Each of the pages
  29. **              INFOPLUS.ASM       - assembly language procedures
  30.  
  31. !!   Using INFOPLUS is easy. Just use the PGUP and PGDN keys to move from page
  32. !! to page. HOME and END will move to the first and last pages, respectively.
  33. !! If you hit ENTER, you can then type in the page you want to go to. Hit ESC
  34. !! to end the program. Some pages won't fit all on one screen, for that you hit
  35. !! the DOWN ARROW key to get more information.
  36.  
  37. !!
  38. !!      Changes by Andrew Rossmann v 1.0 (6/25/90)
  39. !!      All:    Due to confusions with Steve Grant continuing to release
  40. !!              new versions, I am renaming my version to INFOPLUS.
  41. !!              The documentation for SYSID 4.4 states that the source and
  42. !!              object code are public domain. SG's newer versions are
  43. !!              copywritten, and no longer contain source code. All
  44. !!              of my versions WILL ALWAYS continue to contain the source
  45. !!              code, and WILL ALWAYS be public domain!! Like FRACTINT, I
  46. !!              hope for this program to slowly grow as people add their own
  47. !!              ideas.
  48. !!      All:    Changed colors to blue background, with text of LightGray
  49. !!              and LightCyan.
  50. !!              You now press the DOWN ARROW key to continue a long screen.
  51. !!               This lets you move to another page without looking at all
  52. !!               the information.
  53. !!              A title telling what is on the page appears at the bottom.
  54. !!      Page 0: New page, shows contents of each page. HOME always goes here.
  55. !!              Also, this eliminates the chance that scanning the ROM could
  56. !!              lock up the program, preventing its use. If that happens, you
  57. !!              can just go to another page directly.
  58. !!      Page 2: The V20/V30 should be correctly detected.
  59. !!      Page 3: Added detection of XMS, DPMI (untested) and VCPI.
  60. !!              DPMI detection is tentative, since it's still in the formative
  61. !!              stages. Windows 3.0 is the first program to support it.
  62. !!              Under EMS 4, handle names will be listed (not all programs
  63. !!               give their handles names.)
  64. !!      Page 9: Added count of FCB's (File Control Blocks.)
  65. !!              Added count of Dos STACKS (DOS 4 only.)
  66. !!      Page 10:Added detection of DOS (should always be YES!!)
  67. !!              Added detection of JP Software's 4DOS (and other info on it.)
  68. !!              Added detection of CD-ROM extensions.
  69. !!      Page 13:For default drive, tells what type it is, if it is removable,
  70. !!              has doorlock detection, is JOIN'd, or SUBST'd (and shows the
  71. !!              true path.)
  72. !!      Page 17:New page, just thanks you for using INFOPLUS, and gives
  73. !!              some places I can be reached.
  74. !!
  75. !!
  76. !!      The following are my versions of SYSID. It's very likely that some
  77. !!      of these version numbers may overlap Steve Grant's!!
  78. !!
  79. !!      Changes by Andrew Rossmann (5/28/90) v 5.1
  80. !!      Page 2: Corrected bug in 386 detection code actually in SYSID.ASM.
  81. !!                This bug could cause lock-ups or exception errors on
  82. !!                386, 386SX, or 486 systems.
  83. !!
  84. !!      Changes by Andrew Rossmann (1/19/90) v 5.0
  85. !!      Page 9: Added buffer count (and read-ahead) for DOS 4!
  86. !!      Page 15:Added several more partition types.
  87. !!
  88. !!
  89. !!      Changes by Andrew Rossmann (12/31/89) v 4.8
  90. !!      Page 2: Added recognition (I hope) of the '486. This involved
  91. !!              replacing the code that detects the 286/386 with newer
  92. !!              code by Robert Collins.
  93. !!      Page 5: Added the extended modes of the Paradise VGA boards.
  94. !!              (Considering that the CRT unit forces the screen into a
  95. !!              standard text mode at startup, most of the entries are
  96. !!              sort of useless right now.)
  97. !!      Page 15:Added Disk Manager, Speedstore, Split (?), and GB (?) to
  98. !!              the recognized partition types.
  99. !!              Corrected some erroneous numbers in the starting cylinder
  100. !!              and sector.
  101. !!
  102. !!      Changes by Andrew Rossmann (9/30/89) v 4.7
  103. !!      All:    Re-compiled under Turbo Pascal 5.5.
  104. !!      Page 9: Reduced the number of files to 255 due to a potential bug
  105. !!              under DOS 3.30.
  106. !!      Page 10:Added a few extra programs to the multiplex listings. Some of
  107. !!              these will probably only be recognized under DOS 4 or newer.
  108. !!
  109. !!      Changes by Andrew Rossmann (7/2/89) v 4.6
  110. !!      Page 9: Under DOS 3.30 or newer, use a new DOS function call to set
  111. !!              up space for up to 256 files. The number of total files
  112. !!              available will now be closer to the FILES= setting, instead
  113. !!              of being stuck at the 20 that is the default size.
  114. !!
  115. !!      Changes by Andrew Rossmann (6/7/89)
  116. !!              Changed the version to 4.5.
  117. !!      ALL:    Pressing <ENTER> will bring up a 'Page no.=>' prompt. You
  118. !!              can then type in the number of the page you want to jump to.
  119. !!      Page 9: Added OEM (Original Equipment Manufacturer) Serial number to
  120. !!              list. Not everyone uses this. Put file handle table sizes
  121. !!              on one line.
  122. !!              Changed current time to conform to the format of the current
  123. !!              country code, including 12-hour format.
  124. !!      Page16: Corrected more DOS4 errors in the Dos Disk Parameter Block
  125. !!              listings. It seems the number of sectors per FAT has grown
  126. !!              from 1 byte to 1 word. This pushed the sector # of directory,
  127. !!              address of device header, media descriptor, access check,
  128. !!              and next block pointer up 1 byte.
  129. !!
  130. !!      Changes by Andrew Rossmann (6/3/89):
  131. !!              I upped the letter to 'V'.
  132. !!      Page 9: Added 'Boot disk was'. This will display which disk drive
  133. !!              was used to boot the computer under DOS 4. Under DOS 3,
  134. !!              this will always display (unknown).
  135. !!              I changed the file used to figure out the number of available
  136. !!              file handles from COMMAND.COM to the program itself. This is
  137. !!              because COMMAND.COM may not always be available (especially
  138. !!              if you are on floppies.) It's more likely the program itself
  139. !!              will be available. This uses a DOS 3 or 4 feature that lets
  140. !!              a program know it's full pathname. (ParamStr(0) in TP5).
  141. !!      Page10: Added extra information about the APPEND command under DOS
  142. !!              4. Will display which switches are active, and the path
  143. !!              currently in use.
  144. !!      Page15: Added several parition types, including 'Big DOS-16' (DOS 4
  145. !!              partitions >32M), XENIX, NOVELL, PCIX, CP/M, and BBT.
  146. !!      Page16: Modified the DISKREAD portion of SYSID.ASM for use under
  147. !!              DOS 4. Will now correctly read disks with partitions >32M.
  148. !!              Disks >32M under Compaq DOS 3.31 will probably not work.
  149. !!
  150. !!      Changes by Andrew Rossmann (5/29/89):
  151. !!              I named this version 4.44U for 'U'pdated. Don't know of any
  152. !!              newer versions.
  153. !!      Page 1: The search for the Copyright message in ROM has been
  154. !!              expanded to start at F000:C000 instead of F000:E000. This
  155. !!              test had returned nothing on my Tandy 1000SX. This may
  156. !!              cause longer waits on other machines. NOTE: the CPUID
  157. !!              routine does not detect my V20. It returns an unknown type.
  158. !!              I have no idea why, and I would like to know why. (I also
  159. !!              have an 8087 if that makes any difference.)
  160. !!      Page 7: If you had a mouse, some information about your keyboard
  161. !!              ended up scrolling off the screen. Some related info
  162. !!              has been put on 1 line to prevent scrolling.
  163. !!      Page 9: The method to find the number of available file handles
  164. !!              had a minor problem. It used the COMSPEC environment
  165. !!              variable to continuously open COMMAND.COM until an error
  166. !!              occurred, presumably a 'Too Many open files' error. BUT,
  167. !!              the files were opened as untyped files, which have a
  168. !!              default FileMode = 2 (read/write). If your copy of
  169. !!              COMMAND.COM was read-only (for virus protection), an
  170. !!              error 5 (Access denied) occured, and 0 available handles
  171. !!              was shown. This is fixed by setting FileMode:=0 (Read only)
  172. !!              before opening files.
  173. !!              The printer echo status is supported under DOS 4.
  174. !!              The number of buffers is still unknown as I am unable to
  175. !!              figure it out. Since DOS 4 can have a huge number of
  176. !!              buffers, and even put them in EMS memory, finding out their
  177. !!              count may be difficult.
  178. !!      Page13: Information about a floppy now supports the parameters
  179. !!              for 3.5" drives, and displays number of tracks.
  180. !!      Page16: Now supports DOS 4.0 and Compaq DOS 3.31 with partitions
  181. !!              >32M (maybe others if they follow the same format.)
  182. !!              If you have a disk formatted under DOS 4, the boot
  183. !!              record section will display the volume label, serial number,
  184. !!              and FAT type of the disk.
  185. !!
  186. **
  187. **      Known bugs:
  188. **      1) Page 2: The CPU test for interrupts of multi-prefix string
  189. **      instructions is reliable only on machines whose clock speeds are
  190. **      less than about 15 MHz.  The 8086 and 8088 are the only CPU's that
  191. **      don't handle such interrupts correctly, however, and they aren't
  192. **      (to my knowledge) ever run at anything like 15 MHz.  (This 15 MHz
  193. **      limit assumes that the timer tick interrupt occurs at the standard
  194. **      rate of 18.2 Hz.  SYSID could check that, too, I suppose.)
  195. **      2) Page 5: The description of foreground color will not mention the
  196. **      blinking attribute, even if it was enabled before you invoked
  197. **      SYSID.
  198. **      3) Page 10: SYSID used to report incorrectly the statuses of some of
  199. **      the executable files which use the "multiplex interrupt" (INT
  200. **      2FH).  I have commented these status checks out of the source
  201. **      code, determined to do battle with them another day.  Can anyone
  202. **      supply the correct INT 2FH functions for these files?  Or are some
  203. **      of them red herrings that simply check INT 2FH to see if *other*
  204. **      files have been loaded (e.g. APPEND/ASSIGN)?
  205. **      4)      The error beep sometimes fails to sound when you press PgDn
  206. **      while on the last page (or PgUp while on the first page).  I have no
  207. **      idea why. (!!corrected in version 4.5)
  208. **
  209. **      Both the source and object code of SYSID are hereby released into the
  210. **      public domain.  Neither version carries any warranty, expressed or
  211. **      implied, of merchantability or fitness for a particular purpose.
  212. **
  213. **      Comments, suggestions, and questions may be addressed to:
  214. **              BIXMail: sjgrant
  215. **              CompuServe: 71101,706
  216. **
  217. **      Steve Grant
  218. **      Long Beach, CA
  219. **      January 13, 1989
  220. !!
  221. !!
  222. !!
  223. !!      My computer is a Tandy 1000SX running MS-DOS 4.01 and a Paradise VGA+.
  224. !!      Compiled under Turbo Pascal 5.5 and Turbo Assembler 2.00.
  225. !!      Much of the additional info came from Ray Duncan's "Advanced MSDOS
  226. !!      Programming" second edition (a must get book for anyone interested
  227. !!      in low-level stuff.) Also, additional information on the DOS 4 boot
  228. !!      sector format came from "The Norton Troubleshooter." A book that
  229. !!      comes with The Norton Utilities 4.5. Even more information comes from
  230. !!      Ralf Brown's interrupt list, which lists hundreds of goodies. It's
  231. !!      available via BBS's, and resides on SIMTEL20 and many other public
  232. !!      access UNIX sites.
  233. !!        Additional information on XMS and DPMI came from the book 'Extending
  234. !!      DOS' by Ray Duncan (and others.)
  235. !!        Information on additional partition values came from numerous people
  236. !!      of which I never wrote down their names!!
  237. !!
  238. !!      Andrew Rossmann
  239. !!      Wheeling, IL
  240. !!
  241. !!
  242. !!      Central Command, 1-708-359-9346 (1200/2400)
  243. !!                       1-708-359-9396 (HST 14.4)
  244. !!      DDSW1 BBS, 1-708-808-7300 (6 lines),
  245. !!                 1-708-808-7306 (Telebit PEP only!!)
  246. !!      Igloo BBS, 1-708-272-5912 or 1-708-272-5917 (Telebit PEP)
  247. !!      RCS Defender BBS, 1-708-390-6603
  248. !!
  249. !!      Unix Mail:
  250. !!      andyross@ddsw1.MCS.COM, or <well-connected>!ddsw1!andyross
  251. !!              -or-
  252. !!      andyross@igloo.UUCP
  253.